import './assets/main.css'

import { createApp } from 'vue'
import { createPinia } from 'pinia'
import piniaPluginPersistedstate from 'pinia-plugin-persistedstate'
import VueClipboard from 'vue3-clipboard'
import ElementPlus from 'element-plus';
import 'element-plus/dist/index.css';
import router from './routers';
import App from './App.vue'



const app = createApp(App)

const pinia = createPinia() //创建pinia实例
pinia.use(piniaPluginPersistedstate) //将插件添加到 pinia 实例上
app.use(createPinia())
app.use(router);
app.use(ElementPlus);
app.use(VueClipboard, {
    autoSetContainer: true,
    appendToBody: true,
})
app.mount('#app')
